package com.itheima.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author YYP
 * @date 2020/12/15
 */
@Data
@TableName("tb_sku")
public class Good implements Serializable {
    @TableId(value = "id",type = IdType.AUTO)
    private String id;
    private String name;// 姓名
    private Integer price;
    private Integer num;
    private String image;
    private String images;
    private Date createTime;
    private Integer categoryId;
    private String categoryName;
    private String brandName;
}
